package com.mlj.dao;

import com.mlj.pojo.Admin;
import com.mlj.pojo.Student;

import java.util.List;
import java.util.Map;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer adminId);

    int insert(Admin record);

    Admin selectByPrimaryKey(Integer adminId);

    List<Admin> selectAll();

    int updateByPrimaryKey(Admin record);

    List<Student> findAdminListByPage(Integer start, Integer limit);

    Integer selectCount();

    void delAdminById(Integer id);

    void deleteBatch(Integer[] ids);

    void insertAdmin(Admin admin);

    List<Admin> searchAdminByTimeAndKw(Map<String, Object> paraMaps);

    Integer searchCountByTimeAndKw(Map<String, Object> paraMaps);

}